package com.xingqing.exception;

/**
 * 资源未找到异常
 */
public class NotFoundException extends BusinessException {
    
    public NotFoundException(String message) {
        super(404, message);
    }
    
    public NotFoundException(String resource, Object id) {
        super(404, String.format("%s [%s] 不存在", resource, id));
    }
}